home *** CD-ROM | disk | FTP | other *** search
/ The Games Machine 75 / XENIATGM75.iso / Shareware / X-Setup 5.0 / _SETUP.1 / XQ DOS AutoComplete.xpl < prev    next >
Text File  |  1999-02-07  |  1KB  |  50 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 3.1"
  2. "TYPE"="6"
  3. "COUNT"="1"
  4. "UIPATH"="General Usage\Misc"
  5. "NAME"="DOS-AutoComplete"
  6. "LANGUAGE"="VBScript"
  7. "TEXT 1"="Activate DOS-AutoComplete"
  8. "DESCRIPTION 1"="If this option is activated, you can use the TAB key in a CMD-Box (cmd.exe) to AutoComplete your current command."
  9. "DESCRIPTION 2"="It's similar to the AutoComplete function of Internet Explorer."
  10. "DESCRIPTION 3"="Note: This settings is currently available in Windows NT only."
  11. "AUTHOR"="Xteq Systems"
  12. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  13. "COMMENT 1"="For more information, go to http://www.xteq.com or write to TeXHeX@gmx.net."
  14. "COMMENT 2"="Version 1.2"
  15.  
  16.  
  17. sp="HKCU\Software\Microsoft\Command Processor\CompletionChar"
  18.  
  19. Sub Plugin_Initialize 
  20.  if RegPathExists("HKCU\Software\Microsoft\Command Processor\") then
  21.   if RegReadValue(sp)=9 then
  22.    SetUIElement 1,true
  23.   end if
  24.  else
  25.   Disable
  26.  end if
  27. End Sub
  28.  
  29.  
  30. Sub Plugin_CheckData(ElementIndex)
  31. End Sub
  32.  
  33.  
  34.  
  35. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  36.  b=GetUIElement(1)
  37.  if b=true then
  38.   Call RegWriteValue(sp,9,2)
  39.  else
  40.   Call RegWriteValue(sp,0,2)
  41.  end if
  42. End Sub
  43.  
  44.  
  45. Sub Plugin_Terminate 
  46. End Sub
  47.  
  48.  
  49.  
  50.